﻿using System;
using NUnit.Framework;
using Smartkernel;

namespace Smartkernel.NUnitTest.
{
    [Category("Core")]
    [TestFixture]
    public class SmartHexTest
    {
        [Test]
        public void Test()
        {
            //【01】十六进制格式转换（涉及方法：FromHex、ToHex）
            string message = "asdsaj b萨哈苏2321※※89891231＋——）213";
            Assert.AreEqual(SmartHex.FromHex(SmartHex.ToHex(message)), message);
        }
    }
}
